package com.yuer.edu.service;

import org.springframework.stereotype.Component;

@Component // 降级回退逻辑需要定义⼀个类，实现FeignClient接⼝，实现接⼝中的⽅法
public class FeignfallbackResumeClient implements ResumeFeignClientService{
    @Override
    public Integer findResumeOpenState(Long userId) {
        return -100;
    }
}
